Skip to content

Claude/init project setup h eq1r#9

Merged
supercosti21 merged 5 commits intomainfrom
claude/init-project-setup-HEq1r
Feb 23, 2026
Merged

Claude/init project setup h eq1r#9
supercosti21 merged 5 commits intomainfrom
claude/init-project-setup-HEq1r

Conversation

@supercosti21
Copy link
Owner

No description provided.

Remove verbose implementation status changelog and redundant module
listing. Focus on architecture patterns, startup flow, plugin system,
and practical build/test commands that help a new Claude instance be
productive quickly. Fix test count (154, not 79).

https://claude.ai/code/session_01W29EWLxxuZuRnfP9pJjxuB
- Box ZlError::ElfAnalysis to eliminate 121 result_large_err warnings
- Remove 7 dead ZlError variants (Database, Network, PathRemap, etc.)
- Add AppContext struct to bundle shared state, replacing 8-10 param functions
- Fix all clippy warnings (225 → 0): collapsible_if, for_kv_map, dead_code, etc.
- Fix real bug in remap_shebang() that prevented shebangs from ever being remapped
- Add 32 new tests (154 → 186): core/elf/analysis, core/path, core/path/remapper
- Add GitHub Actions CI workflow (fmt + clippy -D warnings + test)
- Update CLAUDE.md to reflect current state

https://claude.ai/code/session_01W29EWLxxuZuRnfP9pJjxuB
…e cascade, better errors

Major improvements to search, install, remove, and error handling:

Search (`zl search`):
- Parallel queries across all plugins via thread::scope
- Relevance scoring: exact(100), starts-with(80), contains(60), desc(30)
- New flags: --sort (relevance|name|version), --exact
- Result count per source, truncated descriptions, tag annotations

Install (`zl install`):
- Universal source picker queries ALL plugins in parallel
- AUR -bin/-appimage/-prebuilt variants auto-discovered and offered
- Clear labeling: [binary], [source], [release] tags in picker
- Architecture compatibility check on ELF binaries before patching
- Post-install missing shared library warnings

AUR plugin:
- Binary variant discovery: searches for -bin/-appimage/-prebuilt
- [binary] tag in descriptions for precompiled packages
- Better build error messages with specific hints (base-devel, PGP)
- Captures stderr from git/makepkg for actionable error output

Remove (`zl remove --cascade`):
- Preview what cascade will/won't remove before prompting
- Shows "Keeping X (needed by Y)" for shared dependencies
- Dry-run support shows full removal plan
- Only removes ZL-managed implicit dependencies, never system pkgs

Error handling:
- Plugin-specific suggestions: pacman mirrors, APT repos, GitHub
  rate limits, AUR build deps, arch mismatches, self-update perms
- New ArchMismatch error variant
- elf_machine_to_arch() + check_arch_compat() in ELF analysis

195 tests pass (103 bin + 92 lib), zero clippy warnings, zero fmt diff.

https://claude.ai/code/session_01W29EWLxxuZuRnfP9pJjxuB
- Feature branches only, never work on main directly
- Branch naming: feat/, fix/, chore/, refactor/, docs/
- Merge only when CI passes, delete branch after
- Atomic commits: 1 commit = 1 concept
- Commit format: type: title + bullet points
- Documentation: update CLAUDE.md + README.md after changes

https://claude.ai/code/session_01W29EWLxxuZuRnfP9pJjxuB
@supercosti21 supercosti21 merged commit 712e768 into main Feb 23, 2026
1 check passed
@supercosti21 supercosti21 deleted the claude/init-project-setup-HEq1r branch February 23, 2026 10:24
supercosti21 pushed a commit that referenced this pull request Feb 23, 2026
- New rule #9: keep GitHub description/topics in sync with project changes
- New "GitHub Metadata" section with current description, topics, and gh commands

https://claude.ai/code/session_01W29EWLxxuZuRnfP9pJjxuB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants